package com.relytosoft.mizar.media.analyze.services.mapper.face;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.relytosoft.mizar.media.analyze.api.entity.face.AyFaceTask;
import com.relytosoft.mizar.media.analyze.api.pojo.query.AyFaceTaskQuery;
import com.relytosoft.mizar.media.analyze.api.pojo.vo.AyFaceTaskVo;
import com.relytosoft.mizar.media.analyze.api.pojo.vo.AyTaskSelectVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * AyFaceTaskMapper
 *
 * @Author SunLi
 * @Date: 2022/6/1 18:30
 * @Version 1.0
 */
public interface AyFaceTaskMapper  extends BaseMapper<AyFaceTask> {
    /**
     * 分页查询分析任务
     * @param page
     * @param ayFaceTaskQuery
     * @return
     */
    Page<AyFaceTaskVo> selectPageTaskList(@Param("page") Page<AyFaceTaskVo> page, @Param("ayFaceTaskQuery") AyFaceTaskQuery ayFaceTaskQuery);

    List<AyTaskSelectVo> selectTaskList();
}
